package com.example.admin.goodnews.entity;

import java.util.List;

/**
 * 单月票房实体类
 * Created by admin on 2016/10/13.
 */

public class MonthlySalesDataEntity {

    /**
     * showapi_res_code : 0
     * showapi_res_error :
     * showapi_res_body : {"ret_code":"0","datalist":[{"rank":"1","days":"30","avgshowcount":"9","avgboxoffice":"32","box_pro":"4.3%","boxoffice":"9973","releaseTime":"2016-08-23","MovieName":"冰川时代5：星际碰撞"},{"rank":"2","days":"1","avgshowcount":"25","avgboxoffice":"33","box_pro":"2.9%","boxoffice":"6723","releaseTime":"2016-09-30","MovieName":"爵迹"},{"rank":"3","days":"","avgshowcount":"7","avgboxoffice":"30","box_pro":"20.7%","boxoffice":"47477","releaseTime":"","MovieName":"其他"},{"rank":"4","days":"29","avgshowcount":"14","avgboxoffice":"35","box_pro":"19.1%","boxoffice":"43876","releaseTime":"2016-09-02","MovieName":"星际迷航3：超越星辰"},{"rank":"5","days":"17","avgshowcount":"13","avgboxoffice":"33","box_pro":"15.7%","boxoffice":"36011","releaseTime":"2016-09-14","MovieName":"大话西游3"},{"rank":"6","days":"17","avgshowcount":"13","avgboxoffice":"29","box_pro":"9.0%","boxoffice":"20786","releaseTime":"2016-09-14","MovieName":"反贪风暴2"},{"rank":"7","days":"17","avgshowcount":"12","avgboxoffice":"30","box_pro":"7.0%","boxoffice":"16167","releaseTime":"2016-09-14","MovieName":"七月与安生"},{"rank":"8","days":"2","avgshowcount":"28","avgboxoffice":"31","box_pro":"6.1%","boxoffice":"14087","releaseTime":"2016-09-29","MovieName":"从你的全世界路过"},{"rank":"9","days":"17","avgshowcount":"10","avgboxoffice":"33","box_pro":"5.9%","boxoffice":"13498","releaseTime":"2016-09-14","MovieName":"追凶者也"},{"rank":"10","days":"22","avgshowcount":"12","avgboxoffice":"28","box_pro":"4.8%","boxoffice":"11072","releaseTime":"2016-09-09","MovieName":"九条命"},{"rank":"11","days":"22","avgshowcount":"10","avgboxoffice":"32","box_pro":"4.4%","boxoffice":"10110","releaseTime":"2016-09-09","MovieName":"鲨滩"}],"remark":"成功"}
     */

    private int showapi_res_code;
    private String showapi_res_error;
    /**
     * ret_code : 0
     * datalist : [{"rank":"1","days":"30","avgshowcount":"9","avgboxoffice":"32","box_pro":"4.3%","boxoffice":"9973","releaseTime":"2016-08-23","MovieName":"冰川时代5：星际碰撞"},{"rank":"2","days":"1","avgshowcount":"25","avgboxoffice":"33","box_pro":"2.9%","boxoffice":"6723","releaseTime":"2016-09-30","MovieName":"爵迹"},{"rank":"3","days":"","avgshowcount":"7","avgboxoffice":"30","box_pro":"20.7%","boxoffice":"47477","releaseTime":"","MovieName":"其他"},{"rank":"4","days":"29","avgshowcount":"14","avgboxoffice":"35","box_pro":"19.1%","boxoffice":"43876","releaseTime":"2016-09-02","MovieName":"星际迷航3：超越星辰"},{"rank":"5","days":"17","avgshowcount":"13","avgboxoffice":"33","box_pro":"15.7%","boxoffice":"36011","releaseTime":"2016-09-14","MovieName":"大话西游3"},{"rank":"6","days":"17","avgshowcount":"13","avgboxoffice":"29","box_pro":"9.0%","boxoffice":"20786","releaseTime":"2016-09-14","MovieName":"反贪风暴2"},{"rank":"7","days":"17","avgshowcount":"12","avgboxoffice":"30","box_pro":"7.0%","boxoffice":"16167","releaseTime":"2016-09-14","MovieName":"七月与安生"},{"rank":"8","days":"2","avgshowcount":"28","avgboxoffice":"31","box_pro":"6.1%","boxoffice":"14087","releaseTime":"2016-09-29","MovieName":"从你的全世界路过"},{"rank":"9","days":"17","avgshowcount":"10","avgboxoffice":"33","box_pro":"5.9%","boxoffice":"13498","releaseTime":"2016-09-14","MovieName":"追凶者也"},{"rank":"10","days":"22","avgshowcount":"12","avgboxoffice":"28","box_pro":"4.8%","boxoffice":"11072","releaseTime":"2016-09-09","MovieName":"九条命"},{"rank":"11","days":"22","avgshowcount":"10","avgboxoffice":"32","box_pro":"4.4%","boxoffice":"10110","releaseTime":"2016-09-09","MovieName":"鲨滩"}]
     * remark : 成功
     */

    private ShowapiResBodyBean showapi_res_body;

    public int getShowapi_res_code() {
        return showapi_res_code;
    }

    public void setShowapi_res_code(int showapi_res_code) {
        this.showapi_res_code = showapi_res_code;
    }

    public String getShowapi_res_error() {
        return showapi_res_error;
    }

    public void setShowapi_res_error(String showapi_res_error) {
        this.showapi_res_error = showapi_res_error;
    }

    public ShowapiResBodyBean getShowapi_res_body() {
        return showapi_res_body;
    }

    public void setShowapi_res_body(ShowapiResBodyBean showapi_res_body) {
        this.showapi_res_body = showapi_res_body;
    }

    public static class ShowapiResBodyBean {
        private String ret_code;
        private String remark;
        /**
         * rank : 1
         * days : 30
         * avgshowcount : 9
         * avgboxoffice : 32
         * box_pro : 4.3%
         * boxoffice : 9973
         * releaseTime : 2016-08-23
         * MovieName : 冰川时代5：星际碰撞
         */

        private List<DatalistBean> datalist;

        public String getRet_code() {
            return ret_code;
        }

        public void setRet_code(String ret_code) {
            this.ret_code = ret_code;
        }

        public String getRemark() {
            return remark;
        }

        public void setRemark(String remark) {
            this.remark = remark;
        }

        public List<DatalistBean> getDatalist() {
            return datalist;
        }

        public void setDatalist(List<DatalistBean> datalist) {
            this.datalist = datalist;
        }

        public static class DatalistBean {
            private String rank;
            private String days;
            private String avgshowcount;
            private String avgboxoffice;
            private String box_pro;
            private String boxoffice;
            private String releaseTime;
            private String MovieName;

            public String getRank() {
                return rank;
            }

            public void setRank(String rank) {
                this.rank = rank;
            }

            public String getDays() {
                return days;
            }

            public void setDays(String days) {
                this.days = days;
            }

            public String getAvgshowcount() {
                return avgshowcount;
            }

            public void setAvgshowcount(String avgshowcount) {
                this.avgshowcount = avgshowcount;
            }

            public String getAvgboxoffice() {
                return avgboxoffice;
            }

            public void setAvgboxoffice(String avgboxoffice) {
                this.avgboxoffice = avgboxoffice;
            }

            public String getBox_pro() {
                return box_pro;
            }

            public void setBox_pro(String box_pro) {
                this.box_pro = box_pro;
            }

            public String getBoxoffice() {
                return boxoffice;
            }

            public void setBoxoffice(String boxoffice) {
                this.boxoffice = boxoffice;
            }

            public String getReleaseTime() {
                return releaseTime;
            }

            public void setReleaseTime(String releaseTime) {
                this.releaseTime = releaseTime;
            }

            public String getMovieName() {
                return MovieName;
            }

            public void setMovieName(String MovieName) {
                this.MovieName = MovieName;
            }
        }
    }
}
